package com.lin.generate.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lin.generate.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 用户表
 *
 * @author zhaolin
 * @date 2023-06-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_user")
@ApiModel(value = "User对象", description = "用户表")
public class User extends BaseEntity {

    @ApiModelProperty(value = "用户名")
    private String name;

    @ApiModelProperty(value = "用户账号")
    private String account;

    @ApiModelProperty(value = "密码")
    private String password;
}
